Integrand size = 22, antiderivative size = 112 \[ \int \frac {a+b \log \left (c (d+e x)^n\right )}{(f+g x)^3} \, dx=\frac {b e n}{2 g (e f-d g) (f+g x)}+\frac {b e^2 n \log (d+e x)}{2 g (e f-d g)^2}-\frac {a+b \log \left (c (d+e x)^n\right )}{2 g (f+g x)^2}-\frac {b e^2 n \log (f+g x)}{2 g (e f-d g)^2} \]
[Out]
Time = 0.05 (sec) , antiderivative size = 112, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 2, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.091, Rules used = {2442, 46} \[ \int \frac {a+b \log \left (c (d+e x)^n\right )}{(f+g x)^3} \, dx=-\frac {a+b \log \left (c (d+e x)^n\right )}{2 g (f+g x)^2}+\frac {b e^2 n \log (d+e x)}{2 g (e f-d g)^2}-\frac {b e^2 n \log (f+g x)}{2 g (e f-d g)^2}+\frac {b e n}{2 g (f+g x) (e f-d g)} \]
[In]
[Out]
Rule 46
Rule 2442
Rubi steps \begin{align*} \text {integral}& = -\frac {a+b \log \left (c (d+e x)^n\right )}{2 g (f+g x)^2}+\frac {(b e n) \int \frac {1}{(d+e x) (f+g x)^2} \, dx}{2 g} \\ & = -\frac {a+b \log \left (c (d+e x)^n\right )}{2 g (f+g x)^2}+\frac {(b e n) \int \left (\frac {e^2}{(e f-d g)^2 (d+e x)}-\frac {g}{(e f-d g) (f+g x)^2}-\frac {e g}{(e f-d g)^2 (f+g x)}\right ) \, dx}{2 g} \\ & = \frac {b e n}{2 g (e f-d g) (f+g x)}+\frac {b e^2 n \log (d+e x)}{2 g (e f-d g)^2}-\frac {a+b \log \left (c (d+e x)^n\right )}{2 g (f+g x)^2}-\frac {b e^2 n \log (f+g x)}{2 g (e f-d g)^2} \\ \end{align*}
Time = 0.07 (sec) , antiderivative size = 83, normalized size of antiderivative = 0.74 \[ \int \frac {a+b \log \left (c (d+e x)^n\right )}{(f+g x)^3} \, dx=-\frac {a+b \log \left (c (d+e x)^n\right )-\frac {b e n (f+g x) (e f-d g+e (f+g x) \log (d+e x)-e (f+g x) \log (f+g x))}{(e f-d g)^2}}{2 g (f+g x)^2} \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. \(282\) vs. \(2(107)=214\).
Time = 1.08 (sec) , antiderivative size = 283, normalized size of antiderivative = 2.53
method | result | size |
parallelrisch | \(\frac {-x b d \,e^{2} g^{3} n +x b \,e^{3} f \,g^{2} n +b \,e^{3} f^{2} g n +2 a d \,e^{2} f \,g^{2}-\ln \left (c \left (e x +d \right )^{n}\right ) b \,d^{2} e \,g^{3}-\ln \left (c \left (e x +d \right )^{n}\right ) b \,e^{3} f^{2} g -b d \,e^{2} f \,g^{2} n +\ln \left (e x +d \right ) b \,e^{3} f^{2} g n -\ln \left (g x +f \right ) b \,e^{3} f^{2} g n +2 \ln \left (c \left (e x +d \right )^{n}\right ) b d \,e^{2} f \,g^{2}+\ln \left (e x +d \right ) x^{2} b \,e^{3} g^{3} n -\ln \left (g x +f \right ) x^{2} b \,e^{3} g^{3} n +2 \ln \left (e x +d \right ) x b \,e^{3} f \,g^{2} n -2 \ln \left (g x +f \right ) x b \,e^{3} f \,g^{2} n -a \,d^{2} e \,g^{3}-a \,e^{3} f^{2} g}{2 \left (g^{2} d^{2}-2 d e f g +e^{2} f^{2}\right ) \left (g x +f \right )^{2} e \,g^{2}}\) | \(283\) |
risch | \(-\frac {b \ln \left (\left (e x +d \right )^{n}\right )}{2 g \left (g x +f \right )^{2}}-\frac {2 \ln \left (g x +f \right ) b \,e^{2} f^{2} n -2 \ln \left (-e x -d \right ) b \,e^{2} f^{2} n +2 a \,e^{2} f^{2}+2 \ln \left (g x +f \right ) b \,e^{2} g^{2} n \,x^{2}-2 \ln \left (-e x -d \right ) b \,e^{2} g^{2} n \,x^{2}-4 \ln \left (c \right ) b d e f g +2 i \pi b d e f g \operatorname {csgn}\left (i c \left (e x +d \right )^{n}\right )^{3}-i \pi b \,e^{2} f^{2} \operatorname {csgn}\left (i c \right ) \operatorname {csgn}\left (i \left (e x +d \right )^{n}\right ) \operatorname {csgn}\left (i c \left (e x +d \right )^{n}\right )-i \pi b \,d^{2} g^{2} \operatorname {csgn}\left (i c \right ) \operatorname {csgn}\left (i \left (e x +d \right )^{n}\right ) \operatorname {csgn}\left (i c \left (e x +d \right )^{n}\right )+2 g b d e f n +2 i \pi b d e f g \,\operatorname {csgn}\left (i c \right ) \operatorname {csgn}\left (i \left (e x +d \right )^{n}\right ) \operatorname {csgn}\left (i c \left (e x +d \right )^{n}\right )-2 i \pi b d e f g \,\operatorname {csgn}\left (i \left (e x +d \right )^{n}\right ) \operatorname {csgn}\left (i c \left (e x +d \right )^{n}\right )^{2}-2 i \pi b d e f g \,\operatorname {csgn}\left (i c \right ) \operatorname {csgn}\left (i c \left (e x +d \right )^{n}\right )^{2}-2 b \,e^{2} f^{2} n -4 \ln \left (-e x -d \right ) b \,e^{2} f g n x +4 \ln \left (g x +f \right ) b \,e^{2} f g n x -4 a d e f g +2 a \,d^{2} g^{2}+2 \ln \left (c \right ) b \,d^{2} g^{2}+2 \ln \left (c \right ) b \,e^{2} f^{2}+2 b d e \,g^{2} n x -2 b \,e^{2} f g n x -i \pi b \,d^{2} g^{2} \operatorname {csgn}\left (i c \left (e x +d \right )^{n}\right )^{3}-i \pi b \,e^{2} f^{2} \operatorname {csgn}\left (i c \left (e x +d \right )^{n}\right )^{3}+i \pi b \,e^{2} f^{2} \operatorname {csgn}\left (i c \right ) \operatorname {csgn}\left (i c \left (e x +d \right )^{n}\right )^{2}+i \pi b \,e^{2} f^{2} \operatorname {csgn}\left (i \left (e x +d \right )^{n}\right ) \operatorname {csgn}\left (i c \left (e x +d \right )^{n}\right )^{2}+i \pi b \,d^{2} g^{2} \operatorname {csgn}\left (i c \right ) \operatorname {csgn}\left (i c \left (e x +d \right )^{n}\right )^{2}+i \pi b \,d^{2} g^{2} \operatorname {csgn}\left (i \left (e x +d \right )^{n}\right ) \operatorname {csgn}\left (i c \left (e x +d \right )^{n}\right )^{2}}{4 \left (g x +f \right )^{2} \left (d g -e f \right )^{2} g}\) | \(633\) |
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 274 vs. \(2 (104) = 208\).
Time = 0.30 (sec) , antiderivative size = 274, normalized size of antiderivative = 2.45 \[ \int \frac {a+b \log \left (c (d+e x)^n\right )}{(f+g x)^3} \, dx=-\frac {a e^{2} f^{2} - 2 \, a d e f g + a d^{2} g^{2} - {\left (b e^{2} f g - b d e g^{2}\right )} n x - {\left (b e^{2} f^{2} - b d e f g\right )} n - {\left (b e^{2} g^{2} n x^{2} + 2 \, b e^{2} f g n x + {\left (2 \, b d e f g - b d^{2} g^{2}\right )} n\right )} \log \left (e x + d\right ) + {\left (b e^{2} g^{2} n x^{2} + 2 \, b e^{2} f g n x + b e^{2} f^{2} n\right )} \log \left (g x + f\right ) + {\left (b e^{2} f^{2} - 2 \, b d e f g + b d^{2} g^{2}\right )} \log \left (c\right )}{2 \, {\left (e^{2} f^{4} g - 2 \, d e f^{3} g^{2} + d^{2} f^{2} g^{3} + {\left (e^{2} f^{2} g^{3} - 2 \, d e f g^{4} + d^{2} g^{5}\right )} x^{2} + 2 \, {\left (e^{2} f^{3} g^{2} - 2 \, d e f^{2} g^{3} + d^{2} f g^{4}\right )} x\right )}} \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 1945 vs. \(2 (97) = 194\).
Time = 13.16 (sec) , antiderivative size = 1945, normalized size of antiderivative = 17.37 \[ \int \frac {a+b \log \left (c (d+e x)^n\right )}{(f+g x)^3} \, dx=\text {Too large to display} \]
[In]
[Out]
none
Time = 0.20 (sec) , antiderivative size = 167, normalized size of antiderivative = 1.49 \[ \int \frac {a+b \log \left (c (d+e x)^n\right )}{(f+g x)^3} \, dx=\frac {1}{2} \, b e n {\left (\frac {e \log \left (e x + d\right )}{e^{2} f^{2} g - 2 \, d e f g^{2} + d^{2} g^{3}} - \frac {e \log \left (g x + f\right )}{e^{2} f^{2} g - 2 \, d e f g^{2} + d^{2} g^{3}} + \frac {1}{e f^{2} g - d f g^{2} + {\left (e f g^{2} - d g^{3}\right )} x}\right )} - \frac {b \log \left ({\left (e x + d\right )}^{n} c\right )}{2 \, {\left (g^{3} x^{2} + 2 \, f g^{2} x + f^{2} g\right )}} - \frac {a}{2 \, {\left (g^{3} x^{2} + 2 \, f g^{2} x + f^{2} g\right )}} \]
[In]
[Out]
none
Time = 0.33 (sec) , antiderivative size = 201, normalized size of antiderivative = 1.79 \[ \int \frac {a+b \log \left (c (d+e x)^n\right )}{(f+g x)^3} \, dx=\frac {b e^{2} n \log \left (e x + d\right )}{2 \, {\left (e^{2} f^{2} g - 2 \, d e f g^{2} + d^{2} g^{3}\right )}} - \frac {b e^{2} n \log \left (g x + f\right )}{2 \, {\left (e^{2} f^{2} g - 2 \, d e f g^{2} + d^{2} g^{3}\right )}} - \frac {b n \log \left (e x + d\right )}{2 \, {\left (g^{3} x^{2} + 2 \, f g^{2} x + f^{2} g\right )}} + \frac {b e g n x + b e f n - b e f \log \left (c\right ) + b d g \log \left (c\right ) - a e f + a d g}{2 \, {\left (e f g^{3} x^{2} - d g^{4} x^{2} + 2 \, e f^{2} g^{2} x - 2 \, d f g^{3} x + e f^{3} g - d f^{2} g^{2}\right )}} \]
[In]
[Out]
Time = 1.02 (sec) , antiderivative size = 173, normalized size of antiderivative = 1.54 \[ \int \frac {a+b \log \left (c (d+e x)^n\right )}{(f+g x)^3} \, dx=\frac {b\,e^2\,n\,\mathrm {atanh}\left (\frac {2\,d^2\,g^3-2\,e^2\,f^2\,g}{2\,g\,{\left (d\,g-e\,f\right )}^2}+\frac {2\,e\,g\,x}{d\,g-e\,f}\right )}{g\,{\left (d\,g-e\,f\right )}^2}-\frac {b\,\ln \left (c\,{\left (d+e\,x\right )}^n\right )}{2\,g\,\left (f^2+2\,f\,g\,x+g^2\,x^2\right )}-\frac {\frac {a\,d\,g-a\,e\,f+b\,e\,f\,n}{d\,g-e\,f}+\frac {b\,e\,g\,n\,x}{d\,g-e\,f}}{2\,f^2\,g+4\,f\,g^2\,x+2\,g^3\,x^2} \]
[In]
[Out]